using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class SachDto
    {
        #region Attributes
        private int iIdSach;
        private string strTenSach;
        private int iIdTacGia;
        private int iIdTheLoai;
        private int iNamPH;
        private DateTime dtNgayNhapKho;
        #endregion

        #region Properties
        public int idSach
        {
            set { this.iIdSach = value; }
            get { return this.iIdSach; }
        }

        public string tenSach 
        {
            set { this.strTenSach = value; }
            get { return this.strTenSach; }
        }

        public int idTacGia
        {
            set { this.iIdTacGia = value; }
            get { return this.iIdTacGia; }
        }

        public int idTheLoai
        {
            set { this.iIdTheLoai = value; }
            get { return this.iIdTheLoai; }
        }

        public int NamPH
        {
            set { this.iNamPH = value; }
            get { return this.iNamPH; }
        }

        public DateTime ngayNhapKho
        {
            set { this.dtNgayNhapKho = value; }
            get { return this.dtNgayNhapKho; }
        }
        #endregion

        #region Method
        public SachDto()
        {
            this.iIdSach = 0;
            this.strTenSach = "";
            this.idTacGia = 0;
            this.idTheLoai = 0;
            this.iNamPH = 0;
            //this.dtNgayNhapKho = new DateTime(0, 0, 0);
        }
        #endregion
    }
}